/**
 * @description 头部页面的模板数据
 */
const headerDefaultData = {
  version: '001',
  base: {
    title_flag: true,
    title_img_flag: true,
    title_img_url: "http://codegen.caihongy.cn/20241008/fbafeed7f8ba433a89d57f0ca0d7eaf5.jpg",
    time_format: "YYYY-MM-DD HH:mm:ss",
    notice_type: "2",
    notice_flag: true,
    notice_text: '公告',
  },
  page: {
    classname: ".layout-container",
    default: {
      minHeight: "100vh",
      padding: "70px 10px 0px 230px",
      margin: "0px",
      position: "relative",
      background: "#EEE",
    }
  },
  header: {
    classname: ".header-wrapper",
    default: {
      color: "#000",
      position: "fixed",
      top: "0",
      left: "0",
      width: "100%",
      height: "60px",
      padding: "0 20px",
      display: "flex",
      justifyContent: "center",
      alignItems: "center",
      gap: "10px",
      background: "linear-gradient(276deg, rgba(255, 207, 179, 0.9) 0%, rgba(255, 250, 246, 0.9) 99%)",
      zIndex: "1",
    }
  },
  title: {
    classname: ".header-wrapper .title-box",
    default: {
      flex: "1 1 auto",
      display: "flex",
      alignItems: "center",
      justifyContent: "flex-start",
      order: "1",
    }
  },
  title_text: {
    classname: ".header-wrapper .title-box .title",
    default: {
      color: "inherit",
      fontSize: "24px",
      fontWeight: "600",
    }
  },
  title_img: {
    classname: ".header-wrapper .title-box .img",

    default: {
      width: "40px",
      height: "40px",
      margin: "0 0 0 20px"
    }
  },
  weather: {
    classname: ".weather-box",
    default: {
      display: "flex",
      alignItems: "center",
      justifyContent: "center",
      gap: "6px",
      fontSize: "14px",
      color: "inherit",
      margin: "0 10px 0 0",
      order: "4",
    },
  },
  weather_city: {
    classname: ".weather-box .city",
    default: {
      fontSize: "inherit",
      color: "inherit",
    },
  },
  weather_tem: {
    classname: ".weather-box .tem",
    default: {
      fontSize: "inherit",
      color: "inherit",
    },
  },
  weather_wea: {
    classname: ".weather-box .wea",
    default: {
      fontSize: "inherit",
      color: "inherit",
    },
  },
  weather_win: {
    classname: ".weather-box .win",
    default: {
      fontSize: "inherit",
      color: "inherit",
    },
  },
  weather_speed: {
    classname: ".weather-box .speed",
    default: {
      fontSize: "inherit",
      color: "inherit",
    },
  },
  time: {
    classname: ".header-wrapper .time-box",
    default: {
      display: "flex",
      alignItems: "center",
      justifyContent: "center",
      fontSize: "14px",
      color: "inherit",
      margin: "0 10px 0 0",
      order: "3",
    },
  },
  notice: {
    classname: ".header-wrapper .notice-box",
    default: {
      height: "40px",
      display: "flex",
      order: "2",
    },
  },
  notice_title: {
    classname: ".header-wrapper .notice-title",
    default: {
      background: "#965F40",
      padding: "0 10px",
      color: "#000",
      fontSize: "16px",
      display: "flex",
      alignItems: "center",
      justifyContent: "center",
    },
  },
  notice_content: {
    classname: ".header-wrapper .notice-content",
    default: {
      width: "300px",
      color: "rgba(0, 0, 0, 0.88)",
      fontSize: "14px",
      flex: "1 1 auto",
      background: "#e6f4ff",
      border: "0 solid #91caff",
      padding: "8px 12px",
      lineHeight: "initial",
      borderRadius: "0",
    },
  },
  // type == 1的样式
  notcie1: {
    classname: ".layout-container .header-wrapper .notice1-box",
    "default": {
      color: "rgba(0, 0, 0, 0.88)",
      "fontSize": "14px",
      "lineHeight": "1.5714285714285714",
      height: "32px",
      padding: "0px 7px",
      borderRadius: "6px",
      order: "4",
    },
    "hover": {
      color: "rgba(0, 0, 0, 0.88)",
      background: "rgba(0, 0, 0, 0.06)"
    }
  },
  user: {
    classname: ".header-wrapper .avatar-box",
    default: {
      cursor: "pointer",
      display: "flex",
      justifyContent: "center",
      alignItems: "center",
      order: "5",
    },
  },
  user_avatar: {
    classname: ".header-wrapper .avatar-box .avatar",
    default: {
      width: "32px",
      height: "32px",
      border: "1px solid transparent"
    },
  },
  user_name: {
    classname: ".header-wrapper .avatar-box .name",
    default: {
      fontSize: "14px",
      color: "inherit",
    },
  },
  css: "/* 头部样式文件 */"
}

export default headerDefaultData